package com.jk.customer.service;

import com.jk.customer.entity.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ProductService {
    /**
     * 陈浩
     * @param product
     * @param request
     * @return
     */
    List<ProductEntity> findProduct(ProductEntity product, HttpServletRequest request);

    void cancelEnquiry(String productId);

    void resend(String productId);

    PriceEntity postpone(String productId);

    List<PurchasingDepartmentOrganization> getSelectClassChr();

    List<PurchasingDepartmentOrganization> getSelectClassChrNb(Integer pid);

    List<PurchasingDepartmentOrganization> getSelectClassChrNb2(Integer pid);

    List<PurchasingDepartmentOrganization> getSelectClassChrNb3(Integer pid);

    void addProduct_Chr(PriceEntity price, HttpServletRequest request);

    void save(String id,String queryEndDate);

    List<OfferFormEntity> showPriceChr(String productId);

    MaterialsEntity selectQuotedChr(String id, String name, String name2);

    OfferFormEntity selectQuotedChr2(String id, String name);

    MaterialsEntity selectHuiChr(String nbCh, String nbCh2, String nbCh3);

    void submitOrder(Integer totalPrice, OrderFormEntity order, String nbCh2, String nbCh);

    PriceEntity updateSelectQuery(String productId);

    void updateSelectQuerySave(ProductEntity price);

    List<ProductEntity> findTotalPages_findPrice(ProductEntity product);
}